import Vue from 'vue'
import App from './App'
import http from './http'
import store from './store/index.js'
import apiObj from './http/api.js'
import globalFn from './common/globalFn.js'

Vue.prototype.$http = http
// Vue.prototype.$url = 'http://192.168.0.115:8090'
Vue.prototype.$imgUrl = 'https://interface.2855855.com'
Vue.prototype.$imgUrl = ''
Vue.prototype.$api = apiObj
Vue.prototype.$store = store
Vue.prototype.$regexPhone = /^1[0-9]{10,10}$/
Vue.prototype.$regexID = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/
Vue.prototype.$regeImg = /^[http | https]/


Vue.config.productionTip = false

Vue.mixin(globalFn) 



App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
